package com.seecen.controller;

import com.seecen.pojo.User;
import com.seecen.service.UserService;
import com.seecen.until.JwtHelper;
import com.seecen.until.Result;
import jakarta.annotation.Resource;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/user")
//跨域问题
@CrossOrigin
public class UserCotroller {

    @Autowired
    private UserService userService;
    @Resource
    private JwtHelper jwtHelper;

    @RequestMapping("/sendCode")
    public Result sendCode(@RequestBody String phone){
       //  Result result= userService.sendCode(phone);
       //  return result;
        return null;
    }



}
